package com.login.register

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.login.R
import com.mineapp.base.BaseFragment
import com.tool.KToast
import kotlinx.android.synthetic.main.fragment_register.*

/**
 * Created by chentao on 2017/7/31.
 */
class RegisterFragment : BaseFragment() {

    override fun bindView(inflater: LayoutInflater?, container: ViewGroup?, savedInstanceState: Bundle?): View? {
        return inflater?.inflate(R.layout.fragment_register, container, false)
    }

    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)
        setTitle("注册页面")
        text.setOnClickListener {
            KToast.centerToast(activity, "注册")
        }
    }

    override fun showToolbar(): Boolean {
        return true
    }
}